<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      gst-plugins-base-1.16.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="gstreamer10.html" title=
          "gstreamer-1.16.2">Prev</a>
          <p>
            gstreamer-1.16.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gst10-plugins-good.html" title=
          "gst-plugins-good-1.16.2">Next</a>
          <p>
            gst-plugins-good-1.16.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gst10-plugins-base" name=
        "gst10-plugins-base"></a>gst-plugins-base-1.16.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to GStreamer Base Plug-ins
        </h2>
        <p>
          The <span class="application">GStreamer Base Plug-ins</span> is a
          well-groomed and well-maintained collection of <span class=
          "application">GStreamer</span> plug-ins and elements, spanning the
          range of possible types of elements one would want to write for
          <span class="application">GStreamer</span>. You will need at least
          one of Good, Bad, Ugly or Libav plugins for <span class=
          "application">GStreamer</span> applications to function properly.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.16.2.tar.xz">
                https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.16.2.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 3fdb32823535799a748c1fc14f978e2c
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 3.8 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 93 MB (with tests; without
                docs)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.8 SBU (Using parallelism=4; with
                tests; without docs)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          GStreamer Base Plug-ins Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="gstreamer10.html" title=
          "gstreamer-1.16.2">gstreamer-1.16.2</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="alsa-lib.html" title=
          "alsa-lib-1.2.2">alsa-lib-1.2.2</a>, <a class="xref" href=
          "cdparanoia.html" title=
          "CDParanoia-III-10.2">CDParanoia-III-10.2</a> (for building the
          CDDA plugin), <a class="xref" href=
          "../general/gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>,
          <a class="xref" href="../general/iso-codes.html" title=
          "ISO Codes-4.4">ISO Codes-4.4</a>, <a class="xref" href=
          "libogg.html" title="libogg-1.3.4">libogg-1.3.4</a>, <a class=
          "xref" href="libtheora.html" title=
          "libtheora-1.1.1">libtheora-1.1.1</a>, <a class="xref" href=
          "libvorbis.html" title="libvorbis-1.3.6">libvorbis-1.3.6</a>, and
          <a class="xref" href="../x/x7lib.html" title="Xorg Libraries">Xorg
          Libraries</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../x/gtk3.html" title=
          "GTK+-3.24.16">GTK+-3.24.16</a> (for examples), <a class="xref"
          href="../general/gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="xref" href="opus.html"
          title="Opus-1.3.1">Opus-1.3.1</a>, <a class="xref" href=
          "../x/qt5.html" title="Qt-5.14.1">Qt-5.14.1</a> (for examples),
          <a class="xref" href="sdl.html" title="SDL-1.2.15">SDL-1.2.15</a>,
          <a class="xref" href="../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a>, <a class="ulink" href=
          "http://libvisual.org/">libvisual</a>, <a class="ulink" href=
          "http://gstreamer.freedesktop.org/src/orc/">Orc</a>, and <a class=
          "ulink" href="http://wiki.xiph.org/Tremor">Tremor</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gst10-plugins-base">http://wiki.linuxfromscratch.org/blfs/wiki/gst10-plugins-base</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of GStreamer Base Plug-ins
        </h2>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you do not have an Objective-C compiler installed, the build
            system for this package will emit a warning about a failed sanity
            check. This is harmless, and it is safe to continue.
          </p>
        </div>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you need a plugin for a given dependency, that dependency
            needs to be installed before this package.
          </p>
        </div>
        <p>
          Install <span class="application">GStreamer Base Plug-ins</span> by
          running the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd    build &amp;&amp;

meson  --prefix=/usr       \
       -Dbuildtype=release \
       -Dgtk_doc=disabled  \
       -Dpackage-origin=http://www.linuxfromscratch.org/blfs/view/svn/ \
       -Dpackage-name="GStreamer 1.16.2 BLFS" &amp;&amp;
ninja</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>ninja
          test</strong></span>. The tests require an X terminal running, or
          all of the GL tests will fail. Five tests may produce timeouts on
          some systems depending on their graphics hardware and speed.
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            When installing, the Makefile does some additional linking. If
            you do not have Xorg in /usr, the LIBRARY_PATH variable needs to
            be defined for the root user. If using sudo to assume root, use
            the -E option to pass your current environment variables for the
            install process.
          </p>
        </div>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">gst-device-monitor-1.0,
              gst-discoverer-1.0, and gst-play-1.0</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libgstallocators-1.0.so,
              libgstapp-1.0.so, libgstaudio-1.0.so, libgstfft-1.0.so,
              libgstgl-1.0.so, libgstpbutils-1.0.so, libgstriff-1.0.so,
              libgstrtp-1.0.so, libgstrtsp-1.0.so, libgstsdp-1.0.so,
              libgsttag-1.0.so, libgstvideo-1.0.so and several plugins under
              /usr/lib/gstreamer-1.0</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class=
              "segbody">/usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils},
              /usr/include/gstreamer-1.0/gst/{riff,rtp,rtsp,sdp,tag,video},
              /usr/share/gst-plugins-base, and
              /usr/share/gtk-doc/html/gst-plugins-base-{libs,plugins}-1.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gst-device-monitor-1.0" name=
                    "gst-device-monitor-1.0"></a><span class=
                    "term"><span class=
                    "command"><strong>gst-device-monitor-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command line tool that can be used to test
                    GStreamer's device monitoring functionality
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gst-discoverer-1.0" name=
                    "gst-discoverer-1.0"></a><span class="term"><span class=
                    "command"><strong>gst-discoverer-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool that can be used to print basic metadata and
                    stream information about a media file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gst-play-1.0" name="gst-play-1.0"></a><span class=
                    "term"><span class=
                    "command"><strong>gst-play-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command line tool that can be used to test basic
                    playback using the playbin element.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 20:27:03 -0600
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="gstreamer10.html" title=
          "gstreamer-1.16.2">Prev</a>
          <p>
            gstreamer-1.16.2
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gst10-plugins-good.html" title=
          "gst-plugins-good-1.16.2">Next</a>
          <p>
            gst-plugins-good-1.16.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
